<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link rel="stylesheet" href="/common/layui/css/layui.css" media="all" />
    <script src="/common/layui/layui.js"></script>
</head>
<body>
<div style="margin-top: 10px">
    <form class="layui-form">
        <div class="layui-inline">
            <label class="layui-form-label">ID:</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" name="id">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">用户名:</label>
            <div class="layui-input-inline">
                <input type="text" class="layui-input" name="firstName">
            </div>
        </div>

        <div class="layui-inline">
            <button class="layui-btn" lay-submit="" lay-filter="query">查询</button>
            <button type="reset" class="layui-btn layui-btn-primary">清除</button>
            <button class="layui-btn layui-btn-warm" lay-submit="" lay-filter="add">新增</button>
        </div>
    </form>

    <table class="layui-tab" id="userTab" lay-filter="userTab"></table>
</div>


<script type="text/html" id="operate">
    <button class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">编辑</button>
    <button class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</button>
</script>

<script type="text/html" id="addUser">
    <div class="layui-form" style="margin-top: 10px" lay-filter="addUser">

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">用户ID:</label>
                <div class="layui-input-inline">
                    <select name="id" id="id" lay-verify="required">
                    </select>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">用户名:</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="firstName" lay-verify="required">
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">中文名:</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="lastName" lay-verify="required">
                </div>
            </div>
        </div>

        <div class="layui-form-item" hidden>
            <button class="layui-btn" lay-submit="" lay-filter="save" id="save">保存</button>
        </div>
    </div>
</script>

<script type="text/javascript" src="/test/js/activitiUser.js"></script>
</body>
</html>